package com.mycode.skill.commom.enums;

/**
 * 响应返回类型枚举
 */
public enum ResponseCodeEnum {
    SUCCESS("success",200),
    FORBIDDEN("forbidden",403),
    UNAUTHORIZED("unauthorized",401),
    EXCEPTION("exception",500);


    public final String key;

    public final Integer value;

    ResponseCodeEnum(String key, Integer value) {
        this.key = key;
        this.value = value;
    }
}
